const stateSelectOptions = [
  {
    label: '待激活',
    value: '0'
  },
  {
    label: '运营中',
    value: '1'
  },
  {
    label: '暂停',
    value: '2'
  },
  {
    label: '已停止',
    value: '3'
  }
]
const activityColumns = [
  {
    dataIndex: 'id',
    title: '广告ID'
  },
  {
    dataIndex: 'ranks',
    title: '排序'
  },
  {
    dataIndex: 'name',
    title: '广告名称'
  },
  {
    dataIndex: 'start_time',
    title: '广告开始时间'
  },
  {
    dataIndex: 'end_time',
    title: '广告结束时间'
  },
  {
    dataIndex: 'state_desc',
    title: '状态'
  },
  {
    title: '操作',
    scopedSlots: { customRender: 'action' },
    dataIndex: 'action',
    width: 150
  }
]
// ! 广告查询列表模块
const queryActivity = {
  activityColumns,
  action: 'activation',
  activity_form: [
    {
      key: 'state',
      type: 'select',
      stateSelectOptions,
      placeholder: '请选择',
      xs: 12,
      sm: 8,
      md: 6,
      lg: 7,
      xl: 6
    },
    {
      placeholder: '广告名称',
      key: 'name',
      type: 'input',
      xs: 12,
      sm: 8,
      md: 6,
      lg: 7,
      xl: 6
    },
    {
      type: 'DateTimeRange',
      key: ['start_time', 'end_time'],
      xs: 12,
      sm: 8,
      md: 6,
      lg: 7,
      xl: 6
    }
  ]
}

export const commonComponents = {
  mfgg: {
    refresh: Math.random() * new Date().getTime(),
    formLeftCof: {
      queryActivity,
      // 组件的插槽属性
      __slot__: {
        prepend: '',
        append: ''
      },
      moduleCof: [
        {
          __config__: {
            label: '模块名称',
            prop: 'view_name',
            rules: [{ required: true, message: '模块名称不能为空' }],
            labelCol: { span: 3 },
            wrapperCol: { span: 14 },
          },
          __slot__: {
            suffix: 'suffix'
          },
          placeholder: '模块名称不能超过10个字',
          maxLength: 10,
          type: 'input',
          key: 'view_name'
        },
        {
          __config__: {
            label: '模版样式',
            rules: [{ required: true }],
            prop: 'style',
            labelCol: { span: 3 },
            wrapperCol: { span: 14 },
          },
          __slot__: {
            suffix: ''
          },
          placeholder: '',
          type: 'style',
          key: 'style',
          imgs: [
            {
              label: '1行2个',
              icon: 'https://file.91xft.cn:9002/static/dbProduct/sy_mfgg3.png'
            }
          ]
        }
      ]
    },
    formRigthCof: [
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告名称',
          prop: 'name',
          rules: [{ required: true, message: '广告名称不能为空' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: 20,
        placeholder: '请填写（不超过20个字）',
        allowClear: true,
        type: 'input',
        style: { width: '100%' },
        key: 'name'
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告描述',
          prop: '',
          rules: null
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: 30,
        placeholder: '请填写（不超过30个字）',
        allowClear: true,
        type: 'textarea',
        style: { width: '100%' },
        key: 'desc',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告图片',
          prop: 'pic_url',
          rules: [{ required: true, message: '广告图片不能为空' }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: '建议尺寸：300px*144px，仅限上传1张',
        allowClear: true,
        type: 'upload',
        style: null,
        key: 'pic_url',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '跳转链接',
          prop: 'redirectType',
          rules: [{ required: true, message: '跳转链接不能为空', }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: '请选择',
        allowClear: true,
        type: 'redirect',
        style: { width: '100%' },
        key: 'redirectType',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告时间',
          prop: '_dateRange',
          rules: [{ required: true, message: '广告时间不能为空' }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: ['开始时间', '结束时间'],
        allowClear: true,
        type: 'DateTimeRange',
        style: { width: '100%' },
        key: ['start_time', 'end_time']
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '排序',
          prop: 'ranks',
          rules: [{ required: true, message: '排序不能为空' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: null,
        placeholder: '请输入',
        allowClear: true,
        type: 'number',
        key: 'ranks',
        style: { width: '100%' }
      }
    ]
  },
  // ? 小浮窗
  xfc: {
    refresh: Math.random() * new Date().getTime(),
    formLeftCof: {
      queryActivity,
      __slot__: {
        prepend: '',
        append: ''
      },
      moduleCof: [
        {
          __config__: {
            label: '模块名称',
            prop: 'view_name',
            rules: [{ required: true, message: '模块名称不能为空' }],
            labelCol: { span: 3 },
            wrapperCol: { span: 14 },
          },
          __slot__: {
            suffix: 'suffix'
          },
          placeholder: '模块名称不能超过10个字',
          maxLength: 10,
          type: 'input',
          key: 'view_name'
        }
      ],
    },
    formRigthCof: [
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告名称',
          prop: 'name',
          rules: [{ required: true, message: '广告名称不能为空' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: 20,
        placeholder: '请填写（不超过20个字）',
        allowClear: true,
        type: 'input',
        style: { width: '100%' },
        key: 'name'
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告描述',
          prop: '',
          rules: null
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: 30,
        placeholder: '请填写（不超过30个字）',
        allowClear: true,
        type: 'textarea',
        style: { width: '100%' },
        key: 'desc',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告图片',
          prop: 'pic_url',
          rules: [{ required: true, message: '广告图片不能为空' }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: '建议尺寸：300px*144px，仅限上传1张',
        allowClear: true,
        type: 'upload',
        style: null,
        key: 'pic_url',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '跳转链接',
          prop: 'redirectType',
          rules: [{ required: true, message: '跳转链接不能为空', }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: '请选择',
        allowClear: true,
        type: 'redirect',
        style: { width: '100%' },
        key: 'redirectType',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告时间',
          prop: '_dateRange',
          rules: [{ required: true, message: '广告时间不能为空' }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: ['开始时间', '结束时间'],
        allowClear: true,
        type: 'DateTimeRange',
        style: { width: '100%' },
        key: ['start_time', 'end_time']
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '排序',
          prop: 'ranks',
          rules: [{ required: true, message: '排序不能为空' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: null,
        placeholder: '请输入',
        allowClear: true,
        type: 'number',
        key: 'ranks',
        style: { width: '100%' }
      }
    ]
  },
  dtc: {
    refresh: Math.random() * new Date().getTime(),
    formLeftCof: {
      queryActivity,
      __slot__: {
        prepend: '',
        append: ''
      },
      moduleCof: [
        {
          __config__: {
            label: '模块名称',
            prop: 'view_name',
            rules: [{ required: true, message: '模块名称不能为空' }],
            labelCol: { span: 3 },
            wrapperCol: { span: 14 },
          },
          __slot__: {
            suffix: 'suffix'
          },
          placeholder: '模块名称不能超过10个字',
          maxLength: 10,
          type: 'input',
          key: 'view_name'
        }
      ],
    },
    formRigthCof: [
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告名称',
          prop: 'name',
          rules: [{ required: true, message: '广告名称不能为空' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: 20,
        placeholder: '请填写（不超过20个字）',
        allowClear: true,
        type: 'input',
        style: { width: '100%' },
        key: 'name'
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告描述',
          prop: '',
          rules: null
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: 30,
        placeholder: '请填写（不超过30个字）',
        allowClear: true,
        type: 'textarea',
        style: { width: '100%' },
        key: 'desc',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告图片',
          prop: 'pic_url',
          rules: [{ required: true, message: '广告图片不能为空' }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: '建议尺寸：300px*144px，仅限上传1张',
        allowClear: true,
        type: 'upload',
        style: null,
        key: 'pic_url',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '跳转链接',
          prop: 'redirectType',
          rules: [{ required: true, message: '跳转链接不能为空', }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: '请选择',
        allowClear: true,
        type: 'redirect',
        style: { width: '100%' },
        key: 'redirectType',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告时间',
          prop: '_dateRange',
          rules: [{ required: true, message: '广告时间不能为空' }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: ['开始时间', '结束时间'],
        allowClear: true,
        type: 'DateTimeRange',
        style: { width: '100%' },
        key: ['start_time', 'end_time']
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '排序',
          prop: 'ranks',
          rules: [{ required: true, message: '排序不能为空' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: null,
        placeholder: '请输入',
        allowClear: true,
        type: 'number',
        key: 'ranks',
        style: { width: '100%' }
      }
    ]
  },
  mfgg_chaos: {
    refresh: Math.random() * new Date().getTime(),
    formLeftCof: {
      queryActivity,
      __slot__: {
        prepend: '',
        append: ''
      },
      moduleCof: [
        {
          __config__: {
            label: '模块名称',
            prop: 'view_name',
            rules: [{ required: true, message: '模块名称不能为空' }],
            labelCol: { span: 3 },
            wrapperCol: { span: 14 },
          },
          __slot__: {
            suffix: 'suffix'
          },
          placeholder: '模块名称不能超过10个字',
          maxLength: 10,
          type: 'input',
          key: 'view_name'
        },
        {
          __config__: {
            label: '模版样式',
            rules: [{ required: true }],
            prop: 'style',
            labelCol: { span: 3 },
            wrapperCol: { span: 14 },
          },
          __slot__: {
            suffix: ''
          },
          placeholder: '',
          type: 'style',
          key: 'style',
          imgs: [
            {
              label: '不规则4个',
              icon: 'https://file.91xft.cn:9002/static/dbProduct/xingdiancan-sy_mfgg2.png'
            }
          ]
        }
      ],
    },
    formRigthCof: [
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告名称',
          prop: 'name',
          rules: [{ required: true, message: '广告名称不能为空' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: 20,
        placeholder: '请填写（不超过20个字）',
        allowClear: true,
        type: 'input',
        style: { width: '100%' },
        key: 'name'
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告描述',
          prop: '',
          rules: null
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: 30,
        placeholder: '请填写（不超过30个字）',
        allowClear: true,
        type: 'textarea',
        style: { width: '100%' },
        key: 'desc',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告图片',
          prop: 'pic_url',
          rules: [{ required: true, message: '广告图片不能为空' }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: '建议尺寸：300px*144px，仅限上传1张',
        allowClear: true,
        type: 'upload',
        style: null,
        key: 'pic_url',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '跳转链接',
          prop: 'redirectType',
          rules: [{ required: true, message: '跳转链接不能为空', }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: '请选择',
        allowClear: true,
        type: 'redirect',
        style: { width: '100%' },
        key: 'redirectType',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告时间',
          prop: '_dateRange',
          rules: [{ required: true, message: '广告时间不能为空' }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: ['开始时间', '结束时间'],
        allowClear: true,
        type: 'DateTimeRange',
        style: { width: '100%' },
        key: ['start_time', 'end_time']
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '排序',
          prop: 'ranks',
          rules: [{ required: true, message: '排序不能为空' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: null,
        placeholder: '请输入',
        allowClear: true,
        type: 'number',
        key: 'ranks',
        style: { width: '100%' }
      }
    ]
  },
  jgq: {
    refresh: Math.random() * new Date().getTime(),
    __slot__: {
      prepend: '',
      append: ''
    },
    formLeftCof: {
      queryActivity,
      __slot__: {
        prepend: '',
        append: ''
      },
      moduleCof: [
        {
          __config__: {
            label: '模块名称',
            prop: 'view_name',
            rules: [{ required: true, message: '模块名称不能为空' }],
            labelCol: { span: 3 },
            wrapperCol: { span: 14 },
          },
          __slot__: {
            suffix: 'suffix'
          },
          placeholder: '模块名称不能超过10个字',
          maxLength: 10,
          type: 'input',
          key: 'view_name'
        },
        {
          __config__: {
            label: '模版样式',
            rules: [{ required: true }],
            prop: 'style',
            labelCol: { span: 3 },
            wrapperCol: { span: 14 },
          },
          __slot__: {
            suffix: ''
          },
          placeholder: '1行2个',
          type: 'style',
          key: 'style',
          imgs: [
            {
              label: '1行4个',
              icon: 'https://gstt.yyjtzc.com/api/file/img/sy_jgq.png'
            }
          ]
        }
      ]
    },
    formRigthCof: [
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告名称',
          prop: 'name',
          rules: [{ required: true, message: '广告名称不能为空' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: 20,
        placeholder: '请填写（不超过20个字）',
        allowClear: true,
        type: 'input',
        style: { width: '100%' },
        key: 'name'
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告描述',
          prop: '',
          rules: null
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: 30,
        placeholder: '请填写（不超过30个字）',
        allowClear: true,
        type: 'textarea',
        style: { width: '100%' },
        key: 'desc',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告图片',
          prop: 'pic_url',
          rules: [{ required: true, message: '广告图片不能为空' }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: '建议尺寸：300px*144px，仅限上传1张',
        allowClear: true,
        type: 'upload',
        style: null,
        key: 'pic_url',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '跳转链接',
          prop: 'redirectType',
          rules: [{ required: true, message: '跳转链接不能为空', }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: '请选择',
        allowClear: true,
        type: 'redirect',
        style: { width: '100%' },
        key: 'redirectType',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告时间',
          prop: '_dateRange',
          rules: [{ required: true, message: '广告时间不能为空' }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: ['开始时间', '结束时间'],
        allowClear: true,
        type: 'DateTimeRange',
        style: { width: '100%' },
        key: ['start_time', 'end_time']
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '排序',
          prop: 'ranks',
          rules: [{ required: true, message: '排序不能为空' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: null,
        placeholder: '请输入',
        allowClear: true,
        type: 'number',
        key: 'ranks',
        style: { width: '100%' }
      }
    ]
  },
  jgq_01: {
    refresh: Math.random() * new Date().getTime(),
    formLeftCof: {
      queryActivity,
      __slot__: {
        prepend: '',
        append: ''
      },
      moduleCof: [
        {
          __config__: {
            label: '模块名称',
            prop: 'view_name',
            rules: [{ required: true, message: '模块名称不能为空' }],
            labelCol: { span: 3 },
            wrapperCol: { span: 14 },
          },
          __slot__: {
            suffix: 'suffix'
          },
          placeholder: '模块名称不能超过10个字',
          maxLength: 10,
          type: 'input',
          key: 'view_name'
        },
        //   {
        //     label: "最多展示",
        //     placeholder: "请填写正整数，填写0表示不限制",
        //     key: ["style", "max_size"],
        //     prop: "style.max_size",
        //     type: "input"
        //   },
        {
          __config__: {
            label: '模版样式',
            required: true,
            prop: 'style',
            labelCol: { span: 3 },
            wrapperCol: { span: 14 },
          },
          __slot__: {
            suffix: ''
          },
          placeholder: '图片1行2个',
          type: 'style',
          key: 'style',
          imgs: [
            {
              label: '图片1行2个',
              icon: 'https://file.91xft.cn:9002/static/dbProduct/sy_mfgg3.png'
            }
          ]
          // image: "https://file.91xft.cn:9002/static/dbProduct/sy_mfgg3.png"
        }
      ],
    },
    formRigthCof: [
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告名称',
          prop: 'name',
          rules: [{ required: true, message: '广告名称不能为空' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: 20,
        placeholder: '请填写（不超过20个字）',
        allowClear: true,
        type: 'input',
        style: { width: '100%' },
        key: 'name'
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告描述',
          prop: '',
          rules: null
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: 30,
        placeholder: '请填写（不超过30个字）',
        allowClear: true,
        type: 'textarea',
        style: { width: '100%' },
        key: 'desc',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告图片',
          prop: 'pic_url',
          rules: [{ required: true, message: '广告图片不能为空' }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: '建议尺寸：300px*144px，仅限上传1张',
        allowClear: true,
        type: 'upload',
        style: null,
        key: 'pic_url',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '跳转链接',
          prop: 'redirectType',
          rules: [{ required: true, message: '跳转链接不能为空', }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: '请选择',
        allowClear: true,
        type: 'redirect',
        style: { width: '100%' },
        key: 'redirectType',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告时间',
          prop: '_dateRange',
          rules: [{ required: true, message: '广告时间不能为空' }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: ['开始时间', '结束时间'],
        allowClear: true,
        type: 'DateTimeRange',
        style: { width: '100%' },
        key: ['start_time', 'end_time']
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '排序',
          prop: 'ranks',
          rules: [{ required: true, message: '排序不能为空' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: null,
        placeholder: '请输入',
        allowClear: true,
        type: 'number',
        key: 'ranks',
        style: { width: '100%' }
      }
    ]
  },
  jgq_02: {
    refresh: Math.random() * new Date().getTime(),
    formLeftCof: {
      queryActivity,
      __slot__: {
        prepend: '',
        append: ''
      },
      moduleCof: [
        {
          __config__: {
            label: '模块名称',
            prop: 'view_name',
            rules: [{ required: true, message: '模块名称不能为空' }],
            labelCol: { span: 3 },
            wrapperCol: { span: 14 },
          },
          __slot__: {
            suffix: 'suffix'
          },
          placeholder: '模块名称不能超过10个字',
          maxLength: 10,
          type: 'input',
          key: 'view_name'
        },
        //   {
        //     label: "最多展示",
        //     placeholder: "请填写正整数，填写0表示不限制",
        //     key: ["style", "max_size"],
        //     prop: "style.max_size",
        //     type: "input"
        //   },
        {
          __config__: {
            label: '模版样式',
            required: true,
            prop: 'style',
            labelCol: { span: 3 },
            wrapperCol: { span: 14 },
          },
          __slot__: {
            suffix: ''
          },
          placeholder: '图片1行2个',
          type: 'style',
          key: 'style',
          imgs: [
            {
              label: '图片1行2个',
              icon: 'https://file.91xft.cn:9002/static/dbProduct/sy_mfgg3.png'
            }
          ]
          // image: "https://file.91xft.cn:9002/static/dbProduct/sy_mfgg3.png"
        }
      ],
    },
    formRigthCof: [
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告名称',
          prop: 'name',
          rules: [{ required: true, message: '广告名称不能为空' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: 20,
        placeholder: '请填写（不超过20个字）',
        allowClear: true,
        type: 'input',
        style: { width: '100%' },
        key: 'name'
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告描述',
          prop: '',
          rules: null
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: 30,
        placeholder: '请填写（不超过30个字）',
        allowClear: true,
        type: 'textarea',
        style: { width: '100%' },
        key: 'desc',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告图片',
          prop: 'pic_url',
          rules: [{ required: true, message: '广告图片不能为空' }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: '建议尺寸：300px*144px，仅限上传1张',
        allowClear: true,
        type: 'upload',
        style: null,
        key: 'pic_url',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '跳转链接',
          prop: 'redirectType',
          rules: [{ required: true, message: '跳转链接不能为空', }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: '请选择',
        allowClear: true,
        type: 'redirect',
        style: { width: '100%' },
        key: 'redirectType',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告时间',
          prop: '_dateRange',
          rules: [{ required: true, message: '广告时间不能为空' }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: ['开始时间', '结束时间'],
        allowClear: true,
        type: 'DateTimeRange',
        style: { width: '100%' },
        key: ['start_time', 'end_time']
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '排序',
          prop: 'ranks',
          rules: [{ required: true, message: '排序不能为空' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: null,
        placeholder: '请输入',
        allowClear: true,
        type: 'number',
        key: 'ranks',
        style: { width: '100%' }
      }
    ]
  },
  jgq_03: {
    refresh: Math.random() * new Date().getTime(),
    formLeftCof: {
      queryActivity,
      __slot__: {
        prepend: '',
        append: ''
      },
      moduleCof: [
        {
          __config__: {
            label: '模块名称',
            prop: 'view_name',
            rules: [{ required: true, message: '模块名称不能为空' }],
            labelCol: { span: 3 },
            wrapperCol: { span: 14 },
          },
          __slot__: {
            suffix: 'suffix'
          },
          placeholder: '模块名称不能超过10个字',
          maxLength: 10,
          type: 'input',
          key: 'view_name'
        },
        //   {
        //     label: "最多展示",
        //     placeholder: "请填写正整数，填写0表示不限制",
        //     key: ["style", "max_size"],
        //     prop: "style.max_size",
        //     type: "input"
        //   },
        {
          __config__: {
            label: '模版样式',
            required: true,
            prop: 'style',
            labelCol: { span: 3 },
            wrapperCol: { span: 14 },
          },
          __slot__: {
            suffix: ''
          },
          placeholder: '图片1行2个',
          type: 'style',
          key: 'style',
          imgs: [
            {
              label: '图片1行2个',
              icon: 'https://file.91xft.cn:9002/static/dbProduct/sy_mfgg3.png'
            }
          ]
          // image: "https://file.91xft.cn:9002/static/dbProduct/sy_mfgg3.png"
        }
      ],
    },
    formRigthCof: [
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告名称',
          prop: 'name',
          rules: [{ required: true, message: '广告名称不能为空' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: 20,
        placeholder: '请填写（不超过20个字）',
        allowClear: true,
        type: 'input',
        style: { width: '100%' },
        key: 'name'
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告描述',
          prop: '',
          rules: null
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: 30,
        placeholder: '请填写（不超过30个字）',
        allowClear: true,
        type: 'textarea',
        style: { width: '100%' },
        key: 'desc',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告图片',
          prop: 'pic_url',
          rules: [{ required: true, message: '广告图片不能为空' }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: '建议尺寸：300px*144px，仅限上传1张',
        allowClear: true,
        type: 'upload',
        style: null,
        key: 'pic_url',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '跳转链接',
          prop: 'redirectType',
          rules: [{ required: true, message: '跳转链接不能为空', }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: '请选择',
        allowClear: true,
        type: 'redirect',
        style: { width: '100%' },
        key: 'redirectType',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告时间',
          prop: '_dateRange',
          rules: [{ required: true, message: '广告时间不能为空' }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: ['开始时间', '结束时间'],
        allowClear: true,
        type: 'DateTimeRange',
        style: { width: '100%' },
        key: ['start_time', 'end_time']
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '排序',
          prop: 'ranks',
          rules: [{ required: true, message: '排序不能为空' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: null,
        placeholder: '请输入',
        allowClear: true,
        type: 'number',
        key: 'ranks',
        style: { width: '100%' }
      }
    ]
  },
  tlgg: {
    refresh: Math.random() * new Date().getTime(),
    formLeftCof: {
      queryActivity,
      __slot__: {
        prepend: '',
        append: ''
      },
      moduleCof: [
        {
          __config__: {
            label: '模块名称',
            prop: 'view_name',
            rules: [{ required: true, message: '模块名称不能为空' }],
            labelCol: { span: 3 },
            wrapperCol: { span: 14 },
          },
          __slot__: {
            suffix: 'suffix'
          },
          placeholder: '模块名称不能超过10个字',
          maxLength: 10,
          type: 'input',
          key: 'view_name'
        }
      ],
    },
    formRigthCof: [
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告名称',
          prop: 'name',
          rules: [{ required: true, message: '广告名称不能为空' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: 20,
        placeholder: '请填写（不超过20个字）',
        allowClear: true,
        type: 'input',
        style: { width: '100%' },
        key: 'name'
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告描述',
          prop: '',
          rules: null
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: 30,
        placeholder: '请填写（不超过30个字）',
        allowClear: true,
        type: 'textarea',
        style: { width: '100%' },
        key: 'desc',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告图片',
          prop: 'pic_url',
          rules: [{ required: true, message: '广告图片不能为空' }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: '建议尺寸：300px*144px，仅限上传1张',
        allowClear: true,
        type: 'upload',
        style: null,
        key: 'pic_url',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '跳转链接',
          prop: 'redirectType',
          rules: [{ required: true, message: '跳转链接不能为空', }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: '请选择',
        allowClear: true,
        type: 'redirect',
        style: { width: '100%' },
        key: 'redirectType',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告时间',
          prop: '_dateRange',
          rules: [{ required: true, message: '广告时间不能为空' }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: ['开始时间', '结束时间'],
        allowClear: true,
        type: 'DateTimeRange',
        style: { width: '100%' },
        key: ['start_time', 'end_time']
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '排序',
          prop: 'ranks',
          rules: [{ required: true, message: '排序不能为空' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: null,
        placeholder: '请输入',
        allowClear: true,
        type: 'number',
        key: 'ranks',
        style: { width: '100%' }
      }
    ]
  },
  banner: {
    refresh: Math.random() * new Date().getTime(),
    formLeftCof: {
      queryActivity,
      // 组件的插槽属性
      __slot__: {
        prepend: '',
        append: ''
      },
      moduleCof: [
        {
          __config__: {
            label: '模块名称',
            prop: 'view_name',
            rules: [{ required: true, message: '模块名称不能为空' }],
            labelCol: { span: 3 },
            wrapperCol: { span: 14 },
          },
          placeholder: '模块名称不能超过10个字',
          maxLength: 10,
          type: 'input',
          key: 'view_name',
          __slot__: {
            suffix: 'suffix'
          },
        }
      ]
    },
    formRigthCof: [
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告名称',
          prop: 'name',
          rules: [{ required: true, message: '广告名称不能为空' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        key: 'name',
        maxLength: 20,
        placeholder: '请填写（不超过20个字）',
        allowClear: true,
        type: 'input',
        style: { width: '100%' }
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告描述',
          prop: '',
          rules: null
        },
        __slot__: {
          suffix: 'suffix'
        },
        key: 'desc',
        maxLength: 30,
        placeholder: '请填写（不超过30个字）',
        allowClear: true,
        type: 'textarea',
        style: { width: '100%' }
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告图片',
          prop: 'pic_url',
          rules: [{ required: true, message: '广告图片不能为空' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        key: 'pic_url',
        maxLength: null,
        placeholder: '建议尺寸：300px*144px，仅限上传1张',
        allowClear: true,
        type: 'upload',
        style: null
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '跳转链接',
          prop: 'redirectType',
          rules: [{ required: true, message: '跳转链接不能为空', }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: null,
        placeholder: '请选择',
        allowClear: true,
        type: 'redirect',
        style: { width: '100%' },
        key: 'redirectType',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告时间',
          prop: '_dateRange',
          rules: [{ type: 'array', required: true, message: '广告时间不能为空', trigger: 'change' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: null,
        placeholder: ['开始时间', '结束时间'],
        allowClear: true,
        type: 'DateTimeRange',
        style: { width: '100%' },
        key: ['start_time', 'end_time']
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '排序',
          prop: 'ranks',
          rules: [{ required: true, message: '排序不能为空', type: 'number' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        key: 'ranks',
        maxLength: null,
        placeholder: '请输入',
        allowClear: true,
        type: 'number',
        style: { width: '100%' }
      }
    ]
  },
  hdlb: {
    refresh: Math.random() * new Date().getTime(),
    formLeftCof: {
      queryActivity,
      // 组件的插槽属性
      __slot__: {
        prepend: '',
        append: ''
      },
      moduleCof: [
        {
          __config__: {
            label: '模块名称',
            prop: 'view_name',
            rules: [{ required: true, message: '模块名称不能为空' }],
            labelCol: { span: 3 },
            wrapperCol: { span: 14 },
          },
          placeholder: '模块名称不能超过10个字',
          maxLength: 10,
          type: 'input',
          key: 'view_name',
          __slot__: {
            suffix: 'suffix'
          },
        },
        {
          __config__: {
            label: '模版样式',
            required: true,
            prop: 'style',
            labelCol: { span: 3 },
            wrapperCol: { span: 14 },
          },
          placeholder: '图片1行2个',
          type: 'style',
          __slot__: {
            suffix: ''
          },
          imgs: [
            {
              label: '图片1行2个',
              icon: 'https://file.91xft.cn:9002/static/dbProduct/sy_mfgg3.png'
            }
          ]
        }
      ]
    },
    formRigthCof: [
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告名称',
          prop: 'name',
          rules: [{ required: true, message: '广告名称不能为空' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: 20,
        placeholder: '请填写（不超过20个字）',
        allowClear: true,
        type: 'input',
        style: { width: '100%' },
        key: 'name'
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告描述',
          prop: '',
          rules: null
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: 30,
        placeholder: '请填写（不超过30个字）',
        allowClear: true,
        type: 'textarea',
        style: { width: '100%' },
        key: 'desc',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告图片',
          prop: 'pic_url',
          rules: [{ required: true, message: '广告图片不能为空' }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: '建议尺寸：300px*144px，仅限上传1张',
        allowClear: true,
        type: 'upload',
        style: null,
        key: 'pic_url',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '跳转链接',
          prop: 'redirectType',
          rules: [{ required: true, message: '跳转链接不能为空', }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: '请选择',
        allowClear: true,
        type: 'redirect',
        style: { width: '100%' },
        key: 'redirectType',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告时间',
          prop: '_dateRange',
          rules: [{ required: true, message: '广告时间不能为空' }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: ['开始时间', '结束时间'],
        allowClear: true,
        type: 'DateTimeRange',
        style: { width: '100%' },
        key: ['start_time', 'end_time']
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '排序',
          prop: 'ranks',
          rules: [{ required: true, message: '排序不能为空' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: null,
        placeholder: '请输入',
        allowClear: true,
        type: 'number',
        key: 'ranks',
        style: { width: '100%' }
      }
    ]
  },
  tjhd: {
    refresh: Math.random() * new Date().getTime(),
    formLeftCof: {
      queryActivity,
      // 组件的插槽属性
      __slot__: {
        prepend: '',
        append: ''
      },
      moduleCof: [
        {
          __config__: {
            label: '模块名称',
            prop: 'view_name',
            rules: [{ required: true, message: '模块名称不能为空' }],
            labelCol: { span: 3 },
            wrapperCol: { span: 14 },
          },
          placeholder: '模块名称不能超过10个字',
          maxLength: 10,
          type: 'input',
          key: 'view_name',
          __slot__: {
            suffix: 'suffix'
          },
        },
        {
          __config__: {
            label: '模版样式',
            required: true,
            prop: 'style',
            labelCol: { span: 3 },
            wrapperCol: { span: 14 },
          },
          placeholder: '',
          type: 'style',
          __slot__: {
            suffix: 'suffix'
          },
          imgs: [
            {
              label: '图文1行1个',
              icon: 'https://gstt.yyjtzc.com/api/file/img/sy_tjhd.png'
            }
          ]
        },
        {
          __config__: {
            label: '默认展示',
            prop: 'max_size',
            rules: [{ required: true, message: '默认展示不能为空' }],
            labelCol: { span: 3 },
            wrapperCol: { span: 14 },
          },
          placeholder: '请填写正整数，填写0表示不限制',
          maxLength: 10,
          type: 'input',
          key: 'max_size',
          __slot__: {
            suffix: '条记录'
          },
        },
      ]
    },
    formRigthCof: [
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告名称',
          prop: 'name',
          rules: [{ required: true, message: '广告名称不能为空' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: 20,
        placeholder: '请填写（不超过20个字）',
        allowClear: true,
        type: 'input',
        style: { width: '100%' },
        key: 'name'
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告描述',
          prop: '',
          rules: null
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: 30,
        placeholder: '请填写（不超过30个字）',
        allowClear: true,
        type: 'textarea',
        style: { width: '100%' },
        key: 'desc',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告图片',
          prop: 'pic_url',
          rules: [{ required: true, message: '广告图片不能为空' }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: '建议尺寸：300px*144px，仅限上传1张',
        allowClear: true,
        type: 'upload',
        style: null,
        key: 'pic_url',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '跳转链接',
          prop: 'redirectType',
          rules: [{ required: true, message: '跳转链接不能为空', }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: '请选择',
        allowClear: true,
        type: 'redirect',
        style: { width: '100%' },
        key: 'redirectType',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告时间',
          prop: '_dateRange',
          rules: [{ required: true, message: '广告时间不能为空' }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: ['开始时间', '结束时间'],
        allowClear: true,
        type: 'DateTimeRange',
        style: { width: '100%' },
        key: ['start_time', 'end_time']
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '排序',
          prop: 'ranks',
          rules: [{ required: true, message: '排序不能为空' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: null,
        placeholder: '请输入',
        allowClear: true,
        type: 'number',
        key: 'ranks',
        style: { width: '100%' }
      }
    ]
  },
  tool: {
    refresh: Math.random() * new Date().getTime(),
    formLeftCof: {
      queryActivity,
      // 组件的插槽属性
      __slot__: {
        prepend: '',
        append: ''
      },
      moduleCof: [
        {
          __config__: {
            label: '模块名称',
            prop: 'view_name',
            rules: [{ required: true, message: '模块名称不能为空' }],
            labelCol: { span: 3 },
            wrapperCol: { span: 14 },
          },
          placeholder: '模块名称不能超过10个字',
          maxLength: 10,
          type: 'input',
          key: 'view_name',
          __slot__: {
            suffix: 'suffix'
          },
        },
        {
          __config__: {
            label: '模版样式',
            required: true,
            prop: 'style',
            labelCol: { span: 3 },
            wrapperCol: { span: 14 },
          },
          placeholder: '',
          type: 'style',
          __slot__: {
            suffix: ''
          },
          imgs: [
            {
              label: 'ICON1行4个',
              icon: 'https://file.91xft.cn:9002/static/dbProduct/my_tool14.png'
            }
          ]
        }
      ]
    },
    formRigthCof: [
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告名称',
          prop: 'name',
          rules: [{ required: true, message: '广告名称不能为空' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: 20,
        placeholder: '请填写（不超过20个字）',
        allowClear: true,
        type: 'input',
        style: { width: '100%' },
        key: 'name'
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告描述',
          prop: '',
          rules: null
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: 30,
        placeholder: '请填写（不超过30个字）',
        allowClear: true,
        type: 'textarea',
        style: { width: '100%' },
        key: 'desc',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告图片',
          prop: 'pic_url',
          rules: [{ required: true, message: '广告图片不能为空' }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: '建议尺寸：300px*144px，仅限上传1张',
        allowClear: true,
        type: 'upload',
        style: null,
        key: 'pic_url',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '跳转链接',
          prop: 'redirectType',
          rules: [{ required: true, message: '跳转链接不能为空', }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: '请选择',
        allowClear: true,
        type: 'redirect',
        style: { width: '100%' },
        key: 'redirectType',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告时间',
          prop: '_dateRange',
          rules: [{ required: true, message: '广告时间不能为空' }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: ['开始时间', '结束时间'],
        allowClear: true,
        type: 'DateTimeRange',
        style: { width: '100%' },
        key: ['start_time', 'end_time']
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '排序',
          prop: 'ranks',
          rules: [{ required: true, message: '排序不能为空' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: null,
        placeholder: '请输入',
        allowClear: true,
        type: 'number',
        key: 'ranks',
        style: { width: '100%' }
      }
    ]
  },
  tool_list: {
    refresh: Math.random() * new Date().getTime(),
    formLeftCof: {
      queryActivity,
      // 组件的插槽属性
      __slot__: {
        prepend: '',
        append: ''
      },
      moduleCof: [
        {
          __config__: {
            label: '模块名称',
            prop: 'view_name',
            rules: [{ required: true, message: '模块名称不能为空' }],
            labelCol: { span: 3 },
            wrapperCol: { span: 14 },
          },
          placeholder: '模块名称不能超过10个字',
          maxLength: 10,
          type: 'input',
          key: 'view_name',
          __slot__: {
            suffix: 'suffix'
          },
        },
        {
          __config__: {
            label: '模版样式',
            required: true,
            prop: 'style',
            labelCol: { span: 3 },
            wrapperCol: { span: 14 },
          },
          placeholder: '',
          type: 'style',
          __slot__: {
            suffix: ''
          },
          imgs: [
            {
              label: '列表式',
              icon: 'https://gstt.yyjtzc.com/api/file/img/my_tool_list.png'
            }
          ]
        }
      ]
    },
    formRigthCof: [
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告名称',
          prop: 'name',
          rules: [{ required: true, message: '广告名称不能为空' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: 20,
        placeholder: '请填写（不超过20个字）',
        allowClear: true,
        type: 'input',
        style: { width: '100%' },
        key: 'name'
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告描述',
          prop: '',
          rules: null
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: 30,
        placeholder: '请填写（不超过30个字）',
        allowClear: true,
        type: 'textarea',
        style: { width: '100%' },
        key: 'desc',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告图片',
          prop: 'pic_url',
          rules: [{ required: true, message: '广告图片不能为空' }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: '建议尺寸：300px*144px，仅限上传1张',
        allowClear: true,
        type: 'upload',
        style: null,
        key: 'pic_url',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '跳转链接',
          prop: 'redirectType',
          rules: [{ required: true, message: '跳转链接不能为空', }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: '请选择',
        allowClear: true,
        type: 'redirect',
        style: { width: '100%' },
        key: 'redirectType',
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '广告时间',
          prop: '_dateRange',
          rules: [{ required: true, message: '广告时间不能为空' }]
        },
        __slot__: {
          suffix: ''
        },
        maxLength: null,
        placeholder: ['开始时间', '结束时间'],
        allowClear: true,
        type: 'DateTimeRange',
        style: { width: '100%' },
        key: ['start_time', 'end_time']
      },
      {
        __config__: {
          labelCol: { span: 4 },
          wrapperCol: { span: 18 },
          label: '排序',
          prop: 'ranks',
          rules: [{ required: true, message: '排序不能为空' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        maxLength: null,
        placeholder: '请输入',
        allowClear: true,
        type: 'number',
        key: 'ranks',
        style: { width: '100%' }
      }
    ]
  },
  pic: {
    refresh: Math.random() * new Date().getTime(),
    hiddenFormLeftCof: true,
    formLeftCof: {},
    formRigthCof: [
      {
        __config__: {
          labelCol: { span: 3 },
          wrapperCol: { span: 18 },
          label: '图片',
          prop: 'pic_url',
          rules: [{ required: true, message: '图片不能为空' }]
        },
        __slot__: {
          suffix: 'suffix'
        },
        key: 'pic_url',
        maxLength: null,
        placeholder: '建议尺寸：750*468px，不超过10kb，仅可上传1张，小程序端仅展示1张图片',
        allowClear: true,
        type: 'upload',
        style: null
      }
    ]
  },
}
